import {WeaTools} from 'ecCom'

export const getGoalList = params => {   //目标查询
    return WeaTools.callApi('/api/workrelate/goal/goalListAll', 'GET', params);
}
export const getMoreGoalList = params => {   //目标更多查询
    return WeaTools.callApi('/api/workrelate/goal/getMore', 'GET', params);
}
export const toChangeStatus = params => {   //修改目标状态
    return WeaTools.callApi('/api/workrelate/goal/editStatus', 'POST', params);
}
export const setSpecial = params => {   //添加取消关注
    return WeaTools.callApi('/api/workrelate/goal/setSpecial', 'POST', params);
}
export const addGoal = params => {   //新增目标
    return WeaTools.callApi('/api/workrelate/goal/addGoal', 'POST', params);
}
